package servlet;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

public class InitServlet extends HttpServlet{

	public InitServlet() {
		System.out.println("InitServlet new  ....");
	}
	
	@Override
	public void init(ServletConfig config) throws ServletException {
		System.out.println("InitServlet init ....");
		
		 System.out.println(config.getInitParameter("app"));
    	 System.out.println(config.getInitParameter("title"));
	}
	

	
}
